package ipiwebdao;

import ipiwebtransverse.Promotion;
import ipiwebtransverse.IpiwebException;

import java.util.List;

public interface PromotionDao {

	public void creerPromotion(Promotion pPromotion) throws IpiwebException;
	public void modifierPromotion(Promotion pPromotion) throws IpiwebException;
	public void supprimerPromotion(Promotion pPromotion) throws IpiwebException;

	public Promotion getPromotionById(int idPromotion) throws IpiwebException;

	public List<Promotion> listerPromotions() throws IpiwebException;
}
